Copying Forms

To copy a form and all objects on it, right-click on the form name and go to Copy Form.

The forms tab on the data block designer. Right click on the form name on the forms tab to see the shortcut menu. The copy form option is highlighted.

The selected form is stored on the clipboard ready to be pasted into the current DataBlock or any other DataBlock. Right-click in the Forms pane and select Paste Form.

The forms tab showing the original form and the copy you just created.

Each copy of the form has its own variables. Argos automatically names the copied variables with the next sequential number. For example, MyVariable becomes MyVariable2; ListBox1 becomes ListBox2. Note that manual variables are not copied, only the variables that pertain to the objects on the form.

The variables tab on the data block designer tab. The system variables and all variables that appear on the original form before it was copied are listed here.Arrow pointing to the right.The variables tab showing the variables list, which now includes the variables on the copy of the original form.

Important note: Because the new variables have different names, any SQL queries, data-aware objects, etc. on the form that refer to other objects will need to be updated as necessary to refer to the new, copied objects. When copying a form into the same DataBlock, these references point to the original variables from the first form. When copying a form between DataBlocks, the referenced variables may not exist at all in the new DataBlock.